<?php
	session_start();
	
	if(isset($_SESSION['user'])){
		session_destroy();
		echo "logout complete!! <br />";
		echo "go away~~ <br />";
		//여기서 왜 textbox가 나오는지 모르겠지만 어쨌든 된다
		echo "<form action='loginForm.php' method='post'>
			<input type='submit' value='loginform' />
			</form>";
				
	} else {
		echo "you are not login this page!!";
		echo "go away~~";
		echo "<form action='loginForm.php method='post' />
			<input type='submit value='go login' />
			</form>";
	} 
	
	
?> 
